#ifndef __INTERRUPT_H
#define __INTERRUPT_H

#include "main.h"
#include "stdbool.h"

typedef struct
{
    uint8_t judge_sta;
    bool key_sta;
    bool single_flag;
} KEY_InitTypeDef;

extern KEY_InitTypeDef key[];
extern uint32_t frq;
extern float duty;
extern uint32_t g_time;
extern char rx_data[30];
extern uint8_t rx_dat;
extern uint8_t rx_pointer;

#endif
